package com.rzico.core.plugin.dada.dadaVo;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class OrderAddRequest {

    @JSONField(name = "shop_no")
    private String shopNo; //门店编号，门店创建后可在门店列表和单页查看

    @JSONField(name = "origin_id")
    private String originId; //第三方订单ID 餐吧这边对应sn

    @JSONField(name = "city_code")
    private String cityCode; //订单所在城市的code

    @JSONField(name = "cargo_price")
    private BigDecimal cargoPrice; //订单金额

    @JSONField(name = "is_prepay")
    private Integer isPrepay; //是否需要垫付 1:是 0:否 (垫付订单金额，非运费) 默认0

    @JSONField(name = "receiver_name")
    private String receiverName; //收货人姓名

    @JSONField(name = "receiver_address")
    private String receiverAddress; //收货人地址

    @JSONField(name = "receiver_lat")
    private BigDecimal receiverLat; //收货人地址纬度（高德坐标系，若是其他地图经纬度需要转化成高德地图经纬度，高德地图坐标拾取器）

    @JSONField(name = "receiver_lng")
    private BigDecimal receiverLng; //收货人地址经度（高德坐标系，若是其他地图经纬度需要转化成高德地图经纬度，高德地图坐标拾取器)

    private String callback; //回调URL

    @JSONField(name = "receiver_phone")
    private String receiverPhone; //收货人手机号

}
